package com.lxq.rental.property.mapper;

/**
 * @description:
 * @author: LuoXiaoQiang
 * @date: 5/10/2025 1:06 AM
 * Copyright (c) 2025, LXQ Cloud All Rights Reserved.
 */


import com.lxq.rental.property.model.Property;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface PropertyMapper {
    List<Property> findAll();

    Property findById(Long id);

    void insert(Property property);

    void update(Property property);

    void deleteById(Long id);
}